package com.godGuang.patient.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.patient.domin.Archives;
import com.patient.domin.FollowDoctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Mapper接口
 *
 * @author godGuang
 * @date 2024-01-08
 */
@Mapper
@Repository
public interface ArchivesMapper extends BaseMapper<Archives>
{
    Archives selectAll(@Param("userid") Long userid);

    /**
     * 关注列表
     */

    List<FollowDoctor> followList(@Param("userId") Long userId, @Param("followStatus") int followStatus);
}
